package application.main;

/**
 * A QuitHandler is notified when the application is about to quit.
 * It may stop the quit process when notified.
 * 
 * @author Philip Rasmussen & Morten Therkildsen
 */
public interface QuitHandler {

	/**
	 * Is called by the application when it is quitting. The quit process may be be stopped based on the return value.
	 * 
	 * @return true if the handler accepts the quit request, false if the quit process should be cancelled
	 */
	public abstract boolean requestQuit();
}
